<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<div class="t_bar">
	课题组人数
</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1" id="persons">
		<col width="12.5%"/>
		<col width="12.5%"/>
		<col width="12.5%"/>
		<col width="12.5%"/>
		<col width="12.5%"/>
		<col width="12.5%"/>
		<col width="12.5%"/>
		<col width="12.5%"/>
	<tr class="li_1">
		<td align="right">课题组人员总数：</td>
		<td colspan="7">
			<x:out select="$xmlData/data/zh_persons/psncnt_total" />人
		</td>
		</tr>
		<tr>
		<td align="right" nowrap>高级职称：</td>
		<td>
			<x:out select="$xmlData/data/zh_persons/psncnt_high" />人
		</td>
			<td align="right"nowrap>中级职称：</td>
		<td>
			<x:out select="$xmlData/data/zh_persons/psncnt_mid" />人
		</td>
		<td align="right"nowrap>初级职称：</td>
		<td>
			<x:out select="$xmlData/data/zh_persons/psncnt_low" />人
		</td>
		<td align="right"nowrap>其他：</td>
		<td>
			<x:out select="$xmlData/data/zh_persons/psncnt_other_post" />人
		</td>
	</tr>
	<tr>
		 <td align="right"nowrap>博士：</td>
		<td>
			<x:out select="$xmlData/data/zh_persons/psncnt_doctoral" />人
		</td> 
		<td align="right"nowrap>硕士：</td>
		<td>
			<x:out select="$xmlData/data/zh_persons/psncnt_master" />人
		</td>
		<td align="right"nowrap>学士：</td>
		<td>
			<x:out select="$xmlData/data/zh_persons/psncnt_bachelor" />人
		</td>
		<td align="right"nowrap>其他：</td>
		<td>
			<x:out select="$xmlData/data/zh_persons/psncnt_other" />人
		</td>
	</tr>
</table>
<div class="t_bar">
	课题负责人
</div>
	<table  id="zh_persons" border="0" cellspacing="0" cellpadding="0" class="table01" >
			<thead>
			<tr>
            <th >序号</th>
				<th width="13%">姓名</th>
				<th width="11%">从事专业</th>
				<th width="11%">出生年月</th>
				<th width="10%">职务/职称</th>
				<th width="10%">学历</th>
				<th width="20%" ="">课题分工</th>
				<th width="20%">所在单位</th>
			</tr>
		</thead>
		<tbody id="tab">
			<c:set value="0" var="index" scope="page" />
			<x:forEach select="$xmlData/data/zh_persons/zh_person" var="zh_person">
				<tr>
					<td =true align="center">
						<input type="radio" name="sel_zh_persons" onclick="setSubmitPsn()" style="display:none"/> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/en_name" value="<x:out select="$zh_person/basic_info/en_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/ethnicity_value" value="<x:out select="$zh_person/basic_info/ethnicity_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/ethnicity_name" value="<x:out select="$zh_person/basic_info/ethnicity_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/subject_code" value="<x:out select="$zh_person/basic_info/subject_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/subject_name" value="<x:out select="$zh_person/basic_info/subject_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/discipline_code" value="<x:out select="$zh_person/basic_info/discipline_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/discipline_name" value="<x:out select="$zh_person/basic_info/discipline_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/region_value" value="<x:out select="$zh_person/basic_info/region_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/region_name" value="<x:out select="$zh_person/basic_info/region_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/gender_value" value="<x:out select="$zh_person/basic_info/gender_value" />" />
						<c:set var ="temp"><x:out select="$zh_person/basic_info/card_type_value" /></c:set>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_type_value" value="${fn:trim(temp) }" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/academician_value" value="<x:out select="$zh_person/basic_info/academician_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/academician_name" value="<x:out select="$zh_person/basic_info/academician_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/org_code" value="<x:out select="$zh_person/basic_info/org_code" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/tel_work" value="<x:out select="$zh_person/contact/tel_work" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/fax" value="<x:out select="$zh_person/contact/fax" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_value" value="<x:out select="$zh_person/basic_info/degree_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_name" value="<x:out select="$zh_person/basic_info/degree_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_code" value="<x:out select="$zh_person/basic_info/post_code" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_country_value" value="<x:out select="$zh_person/basic_info/degree_country_value" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_country_name" value="<x:out select="$zh_person/basic_info/degree_country_name" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_college" value="<x:out select="$zh_person/basic_info/degree_college" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_year" value="<x:out select="$zh_person/basic_info/degree_year" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title_value" value="<x:out select="$zh_person/basic_info/prof_title_value" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/address" value="<x:out select="$zh_person/basic_info/address" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_doctor_value" value="<x:out select="$zh_person/basic_info/post_doctor_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_doctor_name" value="<x:out select="$zh_person/basic_info/post_doctor_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/age" value="<x:out select="$zh_person/basic_info/age" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/educate_value" value="<x:out select="$zh_person/basic_info/educate_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_code" value="<x:out select="$zh_person/basic_info/card_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_type_name" value="<x:out select="$zh_person/basic_info/card_type_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/email" value="<x:out select="$zh_person/contact/email" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/mobile" value="<x:out select="$zh_person/contact/mobile" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/iscomember" value="0"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/researches" label="xml"/>
					    <span name="zh_persons/zh_person[${flag}${index}]@seq_no">${index+1}</span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/zh_name"><a href="#" class="yase" onclick="psnInfoViewByYbyf1(this,'zh_persons','查看课题负责人信息')"><x:out select="$zh_person/basic_info/zh_name" /></a></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/contact/major_work"><x:out select="$zh_person/contact/major_work" /></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/birthday"><x:out select="$zh_person/basic_info/birthday" /></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/position"><x:out select="$zh_person/basic_info/position" /></span>/<span name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title_name"><x:out select="$zh_person/basic_info/prof_title_name" /></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/educate_name"><x:out select="$zh_person/basic_info/educate_name" /></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/work"><c:choose><c:when test="${index==0}">课题负责人</c:when><c:otherwise><x:out select="$zh_person/basic_info/work" /></c:otherwise></c:choose></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/org_name"><x:out select="$zh_person/basic_info/org_name" /></span>
					</td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>
			</tbody>
	</table>
<br>
 <div class="t_bar">课题负责人简介</div>
 <table class="t_css" width="100%" border="0" cellpadding="0"
	    cellspacing="1" style="table-layout: fixed; word-break: break-all; word-wrap: break-word;">
      <tr class="li_2">
          <td whidth="700px">
              <pre><x:out select="$xmlData/data/proposal/goal/resume"/></pre> 
		  </td>
      </tr>
    </table>
    <br/>
     <div class="t_bar">
	主要研究人员
</div>
	<table  id="researchs" border="0" cellspacing="0" cellpadding="0" class="table01" >
		<thead>
			<tr>
            <th nowrap>序号</th>
				<th width="13%">姓名</th>
				<th width="11%">从事专业</th>
				<th width="11%">出生年月</th>
				<th width="10%">职务/职称</th>
				<th width="10%">学历</th>
				<th width="20%" nowrap="nowrap">课题分工</th>
				<th width="20%">所在单位</th>
			</tr>
		</thead>
		<tbody id="tab">
			<c:set value="0" var="index" scope="page" />
			<x:forEach select="$xmlData/data/researchs/research" var="research">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
				<tr>
					<td  align="center"  width="50px" >
						<input type="radio" name="sel_researchs" onclick="setSubmitPsnRearch()" style="display:none"/> 
						<c:if test="${index==0}">
							<input type="hidden" id="submit_psn" name="researchs/research[${flag}${index}]@submit_psn" value="1" />
							<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/psn_code" value="<x:out select="$research/basic_info/psn_code" />"/>
						</c:if>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/en_name" value="<x:out select="$research/basic_info/en_name" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/ethnicity_value" value="<x:out select="$research/basic_info/ethnicity_value" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/ethnicity_name" value="<x:out select="$research/basic_info/ethnicity_name" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/subject_code" value="<x:out select="$research/basic_info/subject_code" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/subject_name" value="<x:out select="$research/basic_info/subject_name" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/discipline_code" value="<x:out select="$research/basic_info/discipline_code" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/discipline_name" value="<x:out select="$research/basic_info/discipline_name" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/region_value" value="<x:out select="$research/basic_info/region_value" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/region_name" value="<x:out select="$research/basic_info/region_name" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/gender_value" value="<x:out select="$research/basic_info/gender_value" />" />
						<c:set var ="temp"><x:out select="$research/basic_info/card_type_value" /></c:set>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/card_type_value" value="${fn:trim(temp) }" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/academician_value" value="<x:out select="$research/basic_info/academician_value" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/academician_name" value="<x:out select="$research/basic_info/academician_name" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/org_code" value="<x:out select="$research/basic_info/org_code" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/contact/tel_work" value="<x:out select="$research/contact/tel_work" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/contact/fax" value="<x:out select="$research/contact/fax" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/degree_value" value="<x:out select="$research/basic_info/degree_value" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/degree_name" value="<x:out select="$research/basic_info/degree_name" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/post_code" value="<x:out select="$research/basic_info/post_code" />" />
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/degree_country_value" value="<x:out select="$research/basic_info/degree_country_value" />" /> 
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/degree_country_name" value="<x:out select="$research/basic_info/degree_country_name" />" /> 
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/degree_college" value="<x:out select="$research/basic_info/degree_college" />" /> 
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/degree_year" value="<x:out select="$research/basic_info/degree_year" />" /> 
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/prof_title" value="<x:out select="$research/basic_info/prof_title" />" /> 
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/prof_title_value" value="<x:out select="$research/basic_info/prof_title_value" />" /> 
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/address" value="<x:out select="$research/basic_info/address" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/post_doctor_value" value="<x:out select="$research/basic_info/post_doctor_value" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/post_doctor_name" value="<x:out select="$research/basic_info/post_doctor_name" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/age" value="<x:out select="$research/basic_info/age" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/educate_value" value="<x:out select="$research/basic_info/educate_value" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/card_code" value="<x:out select="$research/basic_info/card_code" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/basic_info/card_type_name" value="<x:out select="$research/basic_info/card_type_name" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/contact/email" value="<x:out select="$research/contact/email" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/contact/mobile" value="<x:out select="$research/contact/mobile" />"/>
						<input type="hidden" name="researchs/research[${flag}${index}]/iscomember" value="0"/>
						
						<input type="hidden" name="researchs/research[${flag}${index}]/researches" label="xml"/>
						
						<span name="researchs/research[${flag}${index}]@seq_no">${index+1}</span>
					</td>
					<!-- <td align="center">
					
					</td> -->
					<td align="center">
						<span name="researchs/research[${flag}${index}]/basic_info/zh_name"><a href="#" class="yase" onclick="psnInfoViewByYbyf1(this,'researchs','查看主要研究人员信息')"><x:out select="$research/basic_info/zh_name" /></a></span>
					</td>
					<td align="center">
						<span name="researchs/research[${flag}${index}]/contact/major_work"><x:out select="$research/contact/major_work" /></span>
					</td>
					<td align="center">
						<span name="researchs/research[${flag}${index}]/basic_info/birthday"><x:out select="$research/basic_info/birthday" /></span>
					</td>
					<td align="center">
						<span name="researchs/research[${flag}${index}]/basic_info/position"><x:out select="$research/basic_info/position" /></span>/<span name="researchs/research[${flag}${index}]/basic_info/prof_title_name"><x:out select="$research/basic_info/prof_title_name" /></span>
					</td>
					<td align="center"> 
						<span name="researchs/research[${flag}${index}]/basic_info/educate_name"><x:out select="$research/basic_info/educate_name" /></span>
					</td>
					<td align="center">
						<span name="researchs/research[${flag}${index}]/basic_info/work"><x:out select="$research/basic_info/work" /></span>
					</td>
					<td align="center">
						<span name="researchs/research[${flag}${index}]/basic_info/org_name"><x:out select="$research/basic_info/org_name" /></span>
					</td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>
			</tbody>
	</table>
	
	<script type="text/javascript">
	function psnInfoViewByYbyf1(obj,tableId,title) {
		var subGrantCode = $("[name='proposal/sub_grant_code']").val();
		var url;
			url = ctx+"/proposal/view/dialog/psnInfoEdit_dfzdkjkt?parentTab="+tableId+"&type=edit&TB_iframe=true&height=460&width=910";
		$(obj).parents("tr").find(":radio").attr("checked",true);	
		if(!$("#"+tableId+" :radio:checked").length>0){
			scmWarn(irisNotes.pleaseSelectARow);
			return false;
		}
		
		if(url!=null&&url!=""){
			// showThickBox(url,irisNotes.viewResearcherInformation);
			//var title=irisNotes.viewResearcherInformation;
			tb_show(title,url,false);
		}
	}</script>
